<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'spedt.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<SCRIPT src="js/color.js" type="text/javascript"></SCRIPT>
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>
	<body>
		<center>
			<form action="foods.do?method=editFood&fid=${editfoodForm.fid}" method=post enctype="multipart/form-data">
			<TABLE border=0 cellSpacing=1 cellPadding=0 width=800 bgColor=#9bc8eb>
				<TBODY>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							营养数据
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
								<input type="text" size="10" name="ftypecname" readonly="readonly" value="${editfoodForm.ftypecname}" style="border-bottom-color: gray"/>
						</TD>
					</TR>

					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							类别
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<input type="text" size="10" name="" readonly="readonly" value="${editfoodForm.tpcname}" style="border-bottom-color: gray"/>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							具体食物
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
						<input type="text" size="10" name="" readonly="readonly" value="${editfoodForm.fname}" style="border-bottom-color: gray"/>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							相关图片
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<INPUT class=jyts_bk2 size=10 type="file" name=imgfile />							
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							简介
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<textarea rows="3" name="fintroduce" cols="80">${editfoodForm.fintroduce}</textarea>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							保健功效
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<textarea rows="3" cols="80" name="fefficacy">${editfoodForm.fefficacy}</textarea>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							食用提示
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<textarea rows="3" cols="80" name="fclew">${editfoodForm.fclew}</textarea>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							营养成分
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<textarea rows="3" cols="80" name="fnutrition">${editfoodForm.fnutrition}</textarea>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=right>
							相关食谱
							<FONT color=#ff0000>*</FONT>
						</TD>
						<TD class=jj_l_5 bgColor=#eefbfe height=33 vAlign=center width=341
							colSpan=2 align=left>
							<textarea rows="3" cols="80" name="fcookbook">${editfoodForm.fcookbook}</textarea>
						</TD>
					</TR>
					<TR>
						<TD class=jj_r_5 bgColor=#eefbfe height=33 vAlign=center width=100
							align=center colspan="2">
							<input type="submit" value="保存">
						</TD>
					</TR>
				</TBODY>
			</TABLE>
				</form>
		</center>
	</body>
</html>
